import request from '@/utils/request'

// 查询潜在出资人列表
export function listBfPotentialInvestor(query) {
  return request({
    url: '/bf/bfPotentialInvestor/list',
    method: 'get',
    params: query
  })
}

// 查询潜在出资人详细
export function getBfPotentialInvestor(id) {
  return request({
    url: '/bf/bfPotentialInvestor/' + id,
    method: 'get'
  })
}

// 保存潜在出资人
export function saveBfPotentialInvestor(data) {
  return request({
    url: '/bf/bfPotentialInvestor/save',
    method: 'post',
    data: data
  })
}

// 删除潜在出资人
export function delBfPotentialInvestor(id) {
  return request({
    url: '/bf/bfPotentialInvestor/' + id,
    method: 'delete'
  })
}

// 导出潜在出资人
export function exportBfPotentialInvestor(query) {
  return request({
    url: '/bf/bfPotentialInvestor/export',
    method: 'get',
    params: query
  })
}
